/* eslint-disable no-unused-vars */
import moment from 'moment';

let dayFunc = {
    getMonthViewStartDate (date, firstDay) {
      firstDay = parseInt(firstDay);
      let start = moment(date);
      // let startOfMonth = start.startOf('day');
        
        start.add(0, 'days');
        return start;
    },
    getMonthViewEndDate (date) {
      return this.getMonthViewStartDate().add(6, 'weeks');
    }
  };
  export default dayFunc;